package com.sky.mapper.common;

import com.sky.pojo.SetmealDish;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SetmealDishMapper {

    Integer selectByDishId(@Param("ids") List<Long> ids);

    void insertBatch(List<SetmealDish> setmealDishes);
    @Delete("delete from sky_take_out_new.setmeal_dish where setmeal_id = #{setmealId}")
    void deleteBySetmealId(Long setmealId);
}
